package com.wuliming.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuliming.common.utils.PageUtils;
import com.wuliming.gulimall.product.entity.CategoryEntity;
import com.wuliming.gulimall.product.entity.vo.CateLeve2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author wuliming
 * @email wuliming@gmail.com
 * @date 2023-12-05 12:11:06
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();


    void removeMenusByIds(List<Long> list);

    Long[] getCatelogPath(Long catelogId);

    void updateByDetail(CategoryEntity category);

    List<CategoryEntity> getLevel1Category();

    Map<String, List<CateLeve2Vo>> getCatalogJson();

}

